<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<?php

	include("class/conmssql.php");
	include("class/function.php");
	
$page = 'user/viewall_user';
$act = 'delok';

	if($_REQUEST['id_delete'] != '')
{			

	$data = "bActive = '2'";
			
	UpDateMssql("[dbo].[Usernames]",$data,"pkUser = '{$_REQUEST['id_delete']}'");						 
	
}
	
	

?>


<?php

if($_REQUEST['id_delete'] != "")
  {
 ?>   
 <script type="text/javascript">
      $(function(){
       window.location = "admin.php?page=<?=$page?>&&act=<?=$act?>";
        });
      </script>
    
 <?php  
}

?>